package com.rjwh.dingdong.client.mvp.model.impl;

import com.rjwh.dingdong.client.constant.NetConstant;
import com.rjwh.dingdong.client.mvp.BaseModel;
import com.rjwh.dingdong.client.mvp.BasePresenter;
import com.rjwh.dingdong.client.mvp.model.IMoreSettingModel;
import com.rjwh.dingdong.client.network.HttpWebService;

import java.util.HashMap;

/**
 * @author Kay
 * @ClassName MoreSettingModel
 * @Description
 * @date 2016-11-25
 * @history 2016-11-25 author: description:
 */

public class MoreSettingModel extends BaseModel implements IMoreSettingModel{

    public MoreSettingModel(BasePresenter basePresenter) {
        super(basePresenter);
    }

    /**
     * 退出登陆
     */
    @Override
    public void doSysLogout() {
        HashMap<String, String> params = new HashMap<>();
        HttpWebService.getDataFromServer(NetConstant.SYSLOGOUT, params, true, null);
    }

}
